/*
 * Licensed under the License, Version 1.0 (the "License");
 * You may obtain a copy of the License at
 *   http://www.heavenick.com/license/License 
 * Copyright information Heavenick to all.
 * Unless the applicable legal requirements or written 
 * consent, can use or around the code, and no warranties 
 * of any kind and state responsibility.
 */
package com.heavenick.core.monitor;

import java.lang.reflect.Method;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.AfterAdvice;
import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.BeforeAdvice;
import org.springframework.aop.MethodBeforeAdvice;
import org.springframework.aop.ThrowsAdvice;

/**
 *
 *@author Heavenick
 *@version 1.0
 *@date 2012-9-16 下午12:31:03
 */
public class PerformanceMonitor implements MethodInterceptor {
	
	public void aroundMonitor(){
		
	}

	public Object invoke(MethodInvocation invocation) throws Throwable {
		
		invocation.proceed();
		
		
		return null;
	}

}

class MethodPerformance{
	private Long startTime = 0L;
	private Long endTime = 0L;
	
	
}